ToRadioOrBuilder

interface ToRadioOrBuilder : MessageOrBuilder

Inheritors

Properties

Functions

Link copied to clipboard
abstract fun getDisconnect(): Boolean

Tell API server we are disconnecting now.
This is useful for serial links where there is no hardware/protocol based notification that the client has dropped the link.
(Sending this message is optional for clients)
bool disconnect = 4;
Link copied to clipboard

Heartbeat message (used to keep the device connection awake on serial)
.meshtastic.Heartbeat heartbeat = 7;
Link copied to clipboard

Heartbeat message (used to keep the device connection awake on serial)
.meshtastic.Heartbeat heartbeat = 7;
Link copied to clipboard

MQTT Client Proxy Message (for client / phone subscribed to MQTT sending to device)
.meshtastic.MqttClientProxyMessage mqttClientProxyMessage = 6;
Link copied to clipboard

MQTT Client Proxy Message (for client / phone subscribed to MQTT sending to device)
.meshtastic.MqttClientProxyMessage mqttClientProxyMessage = 6;
Link copied to clipboard

Send this packet on the mesh
.meshtastic.MeshPacket packet = 1;
Link copied to clipboard

Send this packet on the mesh
.meshtastic.MeshPacket packet = 1;
Link copied to clipboard
abstract fun getWantConfigId(): Int

Phone wants radio to send full node db to the phone, This is
typically the first packet sent to the radio when the phone gets a
bluetooth connection. The radio will respond by sending back a
MyNodeInfo, a owner, a radio config and a series of
FromRadio.node_infos, and config_complete
the integer you write into this field will be reported back in the
config_complete_id response this allows clients to never be confused by
a stale old partially sent config.
uint32 want_config_id = 3;
Link copied to clipboard
.meshtastic.XModem xmodemPacket = 5;
Link copied to clipboard
.meshtastic.XModem xmodemPacket = 5;
Link copied to clipboard
abstract fun hasDisconnect(): Boolean

Tell API server we are disconnecting now.
This is useful for serial links where there is no hardware/protocol based notification that the client has dropped the link.
(Sending this message is optional for clients)
bool disconnect = 4;
Link copied to clipboard
abstract fun hasHeartbeat(): Boolean

Heartbeat message (used to keep the device connection awake on serial)
.meshtastic.Heartbeat heartbeat = 7;
Link copied to clipboard

MQTT Client Proxy Message (for client / phone subscribed to MQTT sending to device)
.meshtastic.MqttClientProxyMessage mqttClientProxyMessage = 6;
Link copied to clipboard
abstract fun hasPacket(): Boolean

Send this packet on the mesh
.meshtastic.MeshPacket packet = 1;
Link copied to clipboard
abstract fun hasWantConfigId(): Boolean

Phone wants radio to send full node db to the phone, This is
typically the first packet sent to the radio when the phone gets a
bluetooth connection. The radio will respond by sending back a
MyNodeInfo, a owner, a radio config and a series of
FromRadio.node_infos, and config_complete
the integer you write into this field will be reported back in the
config_complete_id response this allows clients to never be confused by
a stale old partially sent config.
uint32 want_config_id = 3;
Link copied to clipboard
abstract fun hasXmodemPacket(): Boolean
.meshtastic.XModem xmodemPacket = 5;